package com.gitee.wsl.transform.encode.pinyin.trie.handler

import com.gitee.wsl.transform.encode.pinyin.trie.PayloadEmit

abstract class AbstractStatefulPayloadEmitHandler<T> : StatefulPayloadEmitHandler<T> {

    override val emits = ArrayList<PayloadEmit<T>>()

    fun addEmit(emit: PayloadEmit<T>) {
        this.emits.add(emit)
    }

}
